package com.bsoft.gol.hcs.clinical.entity;

import javax.persistence.*;

@Entity
@Table(name = "ods_common_prescription_drug")
public class OdsCommonPrescriptionDrug {
    private String prescriptionDrugId;
    private String commonPrescriptionInfoId;
    private String orgId;
    private String orgDrugId;
    private String orgDrugName;
    private String orgFactoryId;
    private String orgFactoryName;
    private String extraData;
    private int drugId;
    private String drugName;
    private double quantity;
    private double dose;
    private String doseUnit;
    private int takeDays;
    private String frequencyCode;
    private String frequencyName;
    private String usageCode;
    private String usageName;
    private String specification;
    private String decoctionCode;
    private String decoctionName;
    private int groupNumber;
    private int sortNumber;
    private String packUnit;
    private String remark;
    private String footNoteCode;
    private String footNoteName;
    private String status;
    private String takeWay;
    private double price;

    @Id
    @Column(name = "prescription_drug_id")
    public String getPrescriptionDrugId() {
        return prescriptionDrugId;
    }

    public void setPrescriptionDrugId(String prescriptionDrugId) {
        this.prescriptionDrugId = prescriptionDrugId;
    }

    @Basic
    @Column(name = "common_prescription_info_id")
    public String getCommonPrescriptionInfoId() {
        return commonPrescriptionInfoId;
    }

    public void setCommonPrescriptionInfoId(String commonPrescriptionInfoId) {
        this.commonPrescriptionInfoId = commonPrescriptionInfoId;
    }

    @Basic
    @Column(name = "org_id")
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @Basic
    @Column(name = "org_drug_id")
    public String getOrgDrugId() {
        return orgDrugId;
    }

    public void setOrgDrugId(String orgDrugId) {
        this.orgDrugId = orgDrugId;
    }

    @Basic
    @Column(name = "org_drug_name")
    public String getOrgDrugName() {
        return orgDrugName;
    }

    public void setOrgDrugName(String orgDrugName) {
        this.orgDrugName = orgDrugName;
    }

    @Basic
    @Column(name = "org_factory_id")
    public String getOrgFactoryId() {
        return orgFactoryId;
    }

    public void setOrgFactoryId(String orgFactoryId) {
        this.orgFactoryId = orgFactoryId;
    }

    @Basic
    @Column(name = "org_factory_name")
    public String getOrgFactoryName() {
        return orgFactoryName;
    }

    public void setOrgFactoryName(String orgFactoryName) {
        this.orgFactoryName = orgFactoryName;
    }

    @Basic
    @Column(name = "extra_data")
    public String getExtraData() {
        return extraData;
    }

    public void setExtraData(String extraData) {
        this.extraData = extraData;
    }

    @Basic
    @Column(name = "drug_id")
    public int getDrugId() {
        return drugId;
    }

    public void setDrugId(int drugId) {
        this.drugId = drugId;
    }

    @Basic
    @Column(name = "drug_name")
    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    @Basic
    @Column(name = "quantity")
    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    @Basic
    @Column(name = "dose")
    public double getDose() {
        return dose;
    }

    public void setDose(double dose) {
        this.dose = dose;
    }

    @Basic
    @Column(name = "dose_unit")
    public String getDoseUnit() {
        return doseUnit;
    }

    public void setDoseUnit(String doseUnit) {
        this.doseUnit = doseUnit;
    }

    @Basic
    @Column(name = "take_days")
    public int getTakeDays() {
        return takeDays;
    }

    public void setTakeDays(int takeDays) {
        this.takeDays = takeDays;
    }

    @Basic
    @Column(name = "frequency_code")
    public String getFrequencyCode() {
        return frequencyCode;
    }

    public void setFrequencyCode(String frequencyCode) {
        this.frequencyCode = frequencyCode;
    }


    @Column(name = "frequency_name")
    public String getFrequencyName() {
        return frequencyName;
    }

    public void setFrequencyName(String frequencyName) {
        this.frequencyName = frequencyName;
    }

    @Basic
    @Column(name = "usage_code")
    public String getUsageCode() {
        return usageCode;
    }

    public void setUsageCode(String usageCode) {
        this.usageCode = usageCode;
    }

    @Basic
    @Column(name = "usage_name")
    public String getUsageName() {
        return usageName;
    }

    public void setUsageName(String usageName) {
        this.usageName = usageName;
    }

    @Basic
    @Column(name = "specification")
    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    @Basic
    @Column(name = "decoction_code")
    public String getDecoctionCode() {
        return decoctionCode;
    }

    public void setDecoctionCode(String decoctionCode) {
        this.decoctionCode = decoctionCode;
    }

    @Basic
    @Column(name = "decoction_name")
    public String getDecoctionName() {
        return decoctionName;
    }

    public void setDecoctionName(String decoctionName) {
        this.decoctionName = decoctionName;
    }

    @Basic
    @Column(name = "group_number")
    public int getGroupNumber() {
        return groupNumber;
    }

    public void setGroupNumber(int groupNumber) {
        this.groupNumber = groupNumber;
    }

    @Basic
    @Column(name = "sort_number")
    public int getSortNumber() {
        return sortNumber;
    }

    public void setSortNumber(int sortNumber) {
        this.sortNumber = sortNumber;
    }

    @Basic
    @Column(name = "pack_unit")
    public String getPackUnit() {
        return packUnit;
    }

    public void setPackUnit(String packUnit) {
        this.packUnit = packUnit;
    }

    @Basic
    @Column(name = "remark")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Basic
    @Column(name = "foot_note_code")
    public String getFootNoteCode() {
        return footNoteCode;
    }

    public void setFootNoteCode(String footNoteCode) {
        this.footNoteCode = footNoteCode;
    }

    @Basic
    @Column(name = "foot_note_name")
    public String getFootNoteName() {
        return footNoteName;
    }

    public void setFootNoteName(String footNoteName) {
        this.footNoteName = footNoteName;
    }

    @Basic
    @Column(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Basic
    @Column(name = "take_way")
    public String getTakeWay() {
        return takeWay;
    }

    public void setTakeWay(String takeWay) {
        this.takeWay = takeWay;
    }

    @Transient
    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}